﻿<h2>Add a New University</h2>
<div class="panel panel-default">
    <div class="panel-body">
        <div class="col-md-offset-3 col-md-8">
        <div class="form-group">
            <label class="col-sm-2 control-label">University</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" ng-model="college.university">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">Location</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="title" ng-model="college.location">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">Summary</label>
            <div class="col-sm-10">
                <textarea class="form-control" name="post" rows="7" cols="100" ng-model="college.summary"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">Image</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="image" ng-model="college.image">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"></label>
            <div class="col-sm-10">
                <button class="btn btn-block btn-primary" ng-click="addCollege(college)" style="width:280px">Submit</button>
            </div>
        </div>
        </div>
    </div>
</div>